home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / iomon2.zip / IOMAC.INC < prev    next >
Text File  |  1991-06-09  |  1KB  |  36 lines

  1. ;---------------------------------------------------------------    
  2. ;iomac.inc - macros for I/O monitor                            |
  3. ;--------------------------------------------------------------|
  4. DOINT           macro   num
  5.                 PUBLIC  int_&num
  6. int_&num        label   near
  7.                 push    bp
  8.                 push    &num
  9.                 jmp     pass_thru
  10.                 endm
  11.  
  12. DOEXCP          macro   num
  13. except_&num     label   near
  14.                 PUBLIC  except_&num
  15.                 push    bp
  16.                 push    &num
  17.                 jmp     except_handler
  18.                 endm
  19.  
  20. DOEXCPH         macro   num
  21. int_&num        label   near
  22.                 PUBLIC  int_&num
  23.                 push    bp
  24.                 push    &num - 18h
  25.                 jmp     pass_thru
  26.                 endm
  27.  
  28. DEFIDTI         macro   num
  29.                 idt     <isrcode:int_&num,gdt_seg:sel_isrcode,,,>
  30.                 endm
  31.  
  32. DEFIDTE         macro   num
  33.                 idt     <isrcode:except_&num,gdt_seg:sel_isrcode,,,>
  34.                 endm
  35. ;------end of iomac.inc
  36.